package com.headfirst.CreateMode.factory.factorymethod;

import java.util.Arrays;

/**
 * @author sunhongguang
 * @create 2022-01-23-21:44
 */
public class ChicagoStyleVeggiePizza extends Pizza {

    public ChicagoStyleVeggiePizza() {
        super.setName("Chicago Deep Dish Veggie Pizza");
        super.setDough("Extra Thick Crust Dough");
        super.setSauce("Plum Tomato Sauce");
        super.setToppings(Arrays.asList("Shredded Mozzarella Cheese","Black Olives",
                "Spinach","Eggplant"));
    }

    public void cut() {
        System.out.println("Cutting the pizza into square slices");
    }
}
